package com.atguigu.javaee.IOC;
//车身依赖于底盘
public class FramWork {
    public Buttom buttom;
    public FramWork(int size){
        buttom=new Buttom(size);
    }
    public void init(){
        System.out.println("执行了framwork的初始化");
        buttom.init();
    }

}
